package com.ruoyi.device.domain;

import java.util.Date;

/**
 * DeviceInfo 实体类对应数据库中的 device_info 表
 */
public class DeviceInfo {
    /** 主键 */
    private Long deviceId;

    /** 设备分类 */
    private Long typeId;

    /** 设备名称 */
    private String deviceName;

    /** 设备型号，多个同型号设备，在型号后添加序号 */
    private String deviceModel;

    /** 设备照片 */
    private String deviceImg;

    /** 设备说明 */
    private String deviceRemark;

    /** 设备状态，-1废弃，0正常，1借出，2维修 */
    private Integer deviceStatus;

    /** 创建人id */
    private Long createBy;

    /** 创建时间 */
    private Date createTime;

    /** 更新人id */
    private Long updateBy;

    /** 更新时间 */
    private Date updateTime;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getDeviceImg() {
        return deviceImg;
    }

    public void setDeviceImg(String deviceImg) {
        this.deviceImg = deviceImg;
    }

    public String getDeviceRemark() {
        return deviceRemark;
    }

    public void setDeviceRemark(String deviceRemark) {
        this.deviceRemark = deviceRemark;
    }

    public Integer getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Integer deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DeviceInfo{" +
                "deviceId=" + deviceId +
                ", typeId=" + typeId +
                ", deviceName='" + deviceName + '\'' +
                ", deviceModel='" + deviceModel + '\'' +
                ", deviceImg='" + deviceImg + '\'' +
                ", deviceRemark='" + deviceRemark + '\'' +
                ", deviceStatus=" + deviceStatus +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                '}';
    }
}
